//
//  LLLabel.m
//  UI02_homework
//
//  Created by 洛洛大人 on 16/6/6.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "LLLabel.h"

@implementation LLLabel

-(instancetype)initWithFrame:(CGRect)frame {
    self= [super initWithFrame:frame];
    if (self) {
        self.text = @"用户名";
        self.textColor = [UIColor blackColor];
        [self setPropertys];
        
    }
    return self;
}

-(instancetype)initWithFrame:(CGRect)frame withText:(NSString *)text {
    self = [super initWithFrame:frame];
    if(self) {
        self.text = text;
        [self setPropertys];
    }
    return self;
}


-(void)setPropertys {
    self.textColor = [UIColor blackColor];
    self.backgroundColor = [UIColor whiteColor];
    
    self.numberOfLines = 3;
    
    self.font = [UIFont systemFontOfSize:20.0f];
    
}




@end
